# Builds everything except Xenolinux:
# cd xenolinux-<version>-sparse
# ./mkbuildtree <build dir>
-# cd <build dir> && ARCH=xeno make oldconfig dep bzImage
+# cd <build dir>
+# ARCH=xeno make oldconfig
+# ARCH=xeno make dep
+# ARCH=xeno make bzImage
# (<build dir> should be a vanilla linux tree with matching version)
all:
# cd /xeno-1.2.bk/xenolinux-2.4.24
# ARCH=xeno make oldconfig { or menuconfig, or xconfig, or config }
- # ARCH=xeno make dep bzImage
+ # ARCH=xeno make dep
+ # ARCH=xeno make bzImage
Assuming the build works, you'll end up with
/xeno-1.2.bk/xenolinux-2.4.24/arch/xeno/boot/xenolinux.gz. This is the
extern int do_timer_lists_from_pit;
unsigned long low_mem_size;
+#ifdef MEMORY_GUARD
/* Unmap the first page of CPU0's stack. */
extern unsigned long cpu0_stack[];
memguard_guard_range(cpu0_stack, PAGE_SIZE);
+#endif
if ( opt_watchdog )
nmi_watchdog = NMI_LOCAL_APIC;
/* define to 1 to disable lightweight runtime debugging checks */
#undef RTL8139_NDEBUG
-#ifdef XEN
-#define RTL8139_DEBUG 1
-#define RTL8139_NDEBUG 1
#undef DPRINTK
-#endif
#ifdef RTL8139_DEBUG
/* note: prints function name for you */
/* when we're a module, we always print a version message,
* even if no 8139 board is found.
*/
-#if defined(MODULE) || defined(XEN)
+#if defined(MODULE)
printk (KERN_INFO RTL8139_DRIVER_NAME "\n");
#endif